  <script language="javascript" src="../config/js/tinymce.min.js"></script>
<script language="javascript">
function validasi(form){
  if (form.nama.value == ""){
    alert("Anda belum mengisikan Nama.");
    form.nama.focus();
    return (false);
  }
    
  if (form.kelas.value == ""){
    alert("Anda belum mengisikan Kelas.");
    form.kelas.focus();
    return (false);
  }
  
  if (form.email.value == ""){
    alert("Anda belum mengisikan Email.");
    form.email.focus();
    return (false);
  }
  return (true);
}
</script>
<body OnLoad="document.submit.nama.focus();" >
<? $aksi="modul/pesan/aksi.php";
echo"
<form name=mahasiswa method=POST onSubmit='return validasi(this)'  action='$aksi?mod=pesan&act=input'  enctype='multipart/form-data'>
"; ?>
<table width="354" border="0">
  <tr>
    <td width="57">Pesan</td>
    <td width="8">:</td>
    <td width="272"><textarea style="width:250px" name="pesan"> </textarea></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="submit" name="submit" value="Submit"></td>
  </tr>
</table>
</form>
</body>